package com.example.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * 店铺表
 *
 * @TableName t_shop
 */
@TableName(value = "t_shop")
@Data
@Builder
public class Shop implements Serializable {

	@Serial
	@TableField(exist = false)
	private static final long serialVersionUID = 1L;
	@Schema(description = "门店ID，主键，自增长")
	@TableId(type = IdType.AUTO)
	private Long shopId;

	@Schema(description = "所属商家ID，外键关联商家表")
	private Long merchantId;

	@Schema(description = "门店名称")
	private String shopName;

	@Schema(description = "门店头像")
	private String shopAvatar;

	@Schema(description = "门店地址")
	private String address;

	@Schema(description = "门店练联系电话")
	private String phone;
}